home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CRC_C.ZIP / CRC.DOC next >
Text File  |  1987-07-29  |  963b  |  30 lines

  1.         Cyclic Redundancy Check
  2. ---------------------------------------------------------
  3.  
  4. This archive includes the following three files:
  5.  
  6.     crc2.c        Computes crc by bit shifting
  7.     crcfast.c    Computes crc by table lookup
  8.     crctab.c    Computes tables used in crcfast.c
  9.     crc.doc        This file
  10.  
  11.     The utilities crc2 and crcfast compute the cyclic redundancy checks
  12. for both the crc-16 (used in arc files) and crc-ccitt (used in xmodem).
  13. crcfast is faster than crc2.  These routines compute the crc's for a
  14. given file as a means of checking data integrity.
  15.     These routines compile without change under Turbo C.  All are
  16. short and illustrate the basic principles of crc calculations.
  17.  
  18.  
  19.  
  20. CRC References:
  21.  
  22.     C Programmer's Guide to Serial Communications, J. Compbell,
  23.         Howard W. Sams & Co.,(1987)
  24.  
  25.     The Great CRC Mystery, T. Ritter, Dr. Dobb's Journal,
  26.         (February 1986)
  27.  
  28.     Byte-Wise CRC Calculations, A. Perez, Wismer, & Becker,
  29.         IEEE Micro, (June 1983)
  30.